User Info - Fetch User profile info
This API fetches the user's profile information. Required OAuth scope: user:read
- To grant permission to read the user's profile information.
Header Parameters
Content-Type string
The content type should be application/json
Example: application/json
Responses
- 200
- 400
- 401
- 412
Success
application/json
Schema
Example (from schema)
Example1
Schema
_id string
A unique identifier for the user.
name string
The user's first name.
lname string
The user's last name.
email string
The user's email address.
{
"_id": "string",
"name": "string",
"lname": "string",
"email": "string"
}
Example User Profile
{
"_id": "u-5a0d550b-85cc-4200-97j5-81088364a6b8",
"name": "John",
"lname": "Doe",
"email": "johndoe@gmail.com"
}
application/json
Schema
Example (from schema)
Schema
customCode number
Status Code of the API
message string
The error code of the API
errors String
The error message of the API
{
"customCode": 0,
"message": "string"
}
application/json
Schema
Example (from schema)
Schema
customCode number
Status Code of the API
message string
The error code of the API
errors String
The error message of the API
{
"customCode": 0,
"message": "string"
}
application/json
Schema
Example (from schema)
Schema
customCode number
Status Code of the API
message string
The error code of the API
errorsArray Array
The errors array which includes objects with a "property" and "message" properties describing the error
{
"customCode": 0,
"message": "string"
}
Loading...